import { View } from "../../../../mvc/core/View";
import { EPlayerItemPosType } from "../../../../../Message/Public/EPlayerItemPosType";
import { MountSWFPanel } from "../mount/MountSWFPanel";
import { ObjCreate } from "../../common/ObjCreate";
import { GImageBitmap } from "../../../../../com/mui/controls/GImageBitmap";
import { ImagesConst } from "../../../resource/ImagesConst";
import { GlobalClass } from "../../../../../com/mui/core/GlobalClass";
import { ResFileConst } from "../../../resource/ResFileConst";
import { GlobalStyle } from "../../../../common/global/GlobalStyle";
import { HTMLUtil } from "../../../../../com/gengine/utils/HTMLUtil";
import { Language } from "../../../../../extend/language/Language";
import { MountEquiptItemSp } from "../mount/MountEquiptItemSp";
import { FlowerBg } from "../../common/FlowerBg";
import { GTextFormat } from "../../../../common/GTextFormat";
import { FontUtil } from "../../../../common/font/FontUtil";
import { MountBattleButton } from "../../common/button/MountBattleButton";
import { PetProcessBar } from "../../pet/PetProcessBar";
import { LoaderHelp } from "../../../../common/display/LoaderHelp";
import { MountConfig } from "../../../resource/MountConfig";
import { Dispatcher } from "../../../../mvc/core/Dispatcher";
import { DataEvent } from "../../../events/DataEvent";
import { EventName } from "../../../mvc/EventName";
import { MsgManager } from "../../../manager/MsgManager";
import { ItemData } from "../../../resource/info/ItemData";
import { Cache } from "../../../cache/Cache";
import { MountUtil } from "../../../scene/mount/MountUtil";
import { ECareer } from "../../../../../Message/Public/ECareer";
import { GLoadedButton } from "../../../../../com/mui/controls/GLoadedButton";
import { GButton } from "../../../../../com/mui/controls/GButton";
import { ItemExInfo } from "../../../resource/info/ItemExInfo";
//class MountDetailPanel
    
    export  class MountDetailPanel extends View
    {
        constructor()
        {
            super();
            this._tfBaseAtrrValueArr = [];
            this._tfAddValueArr = [];
            this._gradeAddValueArr = [];
            this._growStartArr = [];
            this._growForsterArr = [];
            this.initView();
            this.addEventListeners();
            return;
        }

        /* internal  */updateSpBattle(): void
        {
            if (this._mountIData) 
            {
                if (this._mountIData.posType != EPlayerItemPosType._EPlayerItemPosTypeRole) 
                {
                    this._btnBattle.isBattle = true;
                }
                else 
                {
                    this._btnBattle.isBattle = false;
                }
            }
            return;
        }

        public get mountModel(): MountSWFPanel
        {
            return this._mountModel;
        }

        public set mountModel(arg1: MountSWFPanel)
        {
            this._mountModel = arg1;
            return;
        }

        /* internal  */initView(): void
        {
            var loc10=null;
            var loc11=null;
            var loc12=null;
            var loc13=null;
            var loc15=null;
            var loc16=null;
            var loc17=null;
            this.mouseEnabled = false;
            ObjCreate.createBg(0, 0, 279, 245, this);
            this.addChild(new GImageBitmap(ImagesConst.PetMainBg, 3, 3));
            this._mountModel = new MountSWFPanel();
            this._mountModel.mouseEnabled = false;
            this._mountModel.x = 160;
            this._mountModel.y = 124;
            var loc1=GlobalClass.getBitmap(ImagesConst.Fire);
            loc1.x = 6;
            loc1.y = 2;
            this.addChild(loc1);
            this._changeModelBtn = ObjCreate.createGLoadedButton(ResFileConst.Huan, 12, 53, 29, 26, this);
            this._changeModelBtn.addEventListener(flash.events.MouseEvent.CLICK, this.onChangeModelBtnClickHandler);
            this._huanLvTx = ObjCreate.createTextField("", 14, 81, 45, 20, this, GlobalStyle.textFormat8);
            this._craveBtn = ObjCreate.createGLoadedButton(ResFileConst.Crave, 14, 108, 25, 25, this);
            this._craveBtn.addEventListener(flash.events.MouseEvent.CLICK, this.onCraveBtnClickHandler);
            this._craveBtn.toolTipData = "<textFormat leading=\'3\'>" + HTMLUtil.addColor(Language.getString(70177), "#FFFFFF") + "</textFormat>";
            this._craveBtn.visible = false;
            ObjCreate.createBg(0, 166, 139, 24, this, ImagesConst.TileBg);
            this._stEquiptBm = ObjCreate.createBitmap("", 8, 168, this);
            this._equiptPart = new MountEquiptItemSp();
            this._equiptPart.x = 34;
            this._equiptPart.y = 194;
            addChild(this._equiptPart);
            this._spBattle = new FlowerBg(279, 150);
            this._spBattle.y = 248;
            ObjCreate.createBg(0, 0, 139, 24, this._spBattle, ImagesConst.TileBg);
            this._bmAtrrBase = ObjCreate.createBitmap("", 6, 2, this._spBattle);
            this._lvTx = ObjCreate.createTextField("", 230, 120, 60, 24, this._spBattle, new GTextFormat(FontUtil.songtiName, 14, 11661311));
            this._startLvTx = ObjCreate.createTextField("", 30, 96, 95, 20, this._spBattle, GlobalStyle.textFormat1);
            this._speedTx = ObjCreate.createTextField("", 180, 96, 95, 20, this._spBattle, GlobalStyle.textFormat1);
            this._btnFeed = ObjCreate.createGButton(Language.getString(70010), 196, 50, 69, 23, this._spBattle);
            this._btnExtend = ObjCreate.createGButton(Language.getString(70014), 14, 50, 69, 23, this._spBattle);
            this._btnBattle = new MountBattleButton();
            this._btnBattle.x = 103;
            this._btnBattle.y = 18;
            this._spBattle.addChild(this._btnBattle);
            var loc2=ObjCreate.createGTextField(Language.getString(70080), 6, 122, 40, 20, this._spBattle);
            this._expBar = new PetProcessBar(ImagesConst.GreenBar10, 166, 12);
            this._spBattle.addChild(this._expBar);
            this._expBar.move(46, 126);
            this._expBar.setValue(0, 0);
            addChild(this._spBattle);
            this._spAttr = new FlowerBg(257, 188);
            this._spAttr.x = 281;
            ObjCreate.createBg(0, 3, 139, 24, this._spAttr, ImagesConst.TileBg);
            this._stBaseBm = ObjCreate.createBitmap("", 10, 4, this._spAttr);
            this._btnAdvance = ObjCreate.createGButton(Language.getString(71516), 46, 155, 55, 22, this._spAttr);
            var loc3=ObjCreate.createGTextField("", 9, 3, 80, 30, this._spAttr);
            loc3.toolTipData = HTMLUtil.addColor(Language.getString(70150), "#ffffff");
            this._stAddBm = ObjCreate.createBitmap("", 140, 4, this._spAttr);
            var loc4;
            (loc4 = ObjCreate.createGTextField("", 139, 3, 80, 30, this._spAttr)).toolTipData = HTMLUtil.addColor(Language.getString(70151), "#ffffff");
            ObjCreate.createBg(135, -20, 250, 3, this._spAttr, ImagesConst.Line).rotation = 90;
            var loc5=Language.getString(70079).split(",");
            var loc6=[];
            var loc7=0;
            while (loc7 < loc5.length) 
            {
                loc15 = ObjCreate.createGTextField(loc5[loc7], 9, 30 + 24 * loc7, 40, 20, this._spAttr);
                loc6.push(loc15);
                loc16 = ObjCreate.createTextField("", 52, 30 + 24 * loc7, 50, 20, this._spAttr, GlobalStyle.textFormat2);
                loc17 = ObjCreate.createTextField("", 90, 30 + 24 * loc7, 40, 20, this._spAttr, GlobalStyle.textFormatGreen);
                this._tfBaseAtrrValueArr.push(loc16);
                this._gradeAddValueArr.push(loc17);
                ++loc7;
            }
            loc6[0].toolTipData = HTMLUtil.addColor(Language.getString(70111), "#FFFFFF");
            loc6[1].toolTipData = HTMLUtil.addColor(Language.getString(70112), "#FFFFFF");
            loc6[2].toolTipData = HTMLUtil.addColor(Language.getString(70113), "#FFFFFF");
            loc6[3].toolTipData = HTMLUtil.addColor(Language.getString(70114), "#FFFFFF");
            loc6[4].toolTipData = HTMLUtil.addColor(Language.getString(70115), "#FFFFFF");
            this._spAttrAdd = new Object /* flash.display.Sprite */();
            this._spAttrAdd.x = 135;
            this._spAttrAdd.y = 27;
            this._spAttr.addChild(this._spAttrAdd);
            addChild(this._spAttr);
            this.addChild(this._mountModel);
            this._spAttrGrow = new FlowerBg(257, 210);
            this._spAttrGrow.x = 281;
            this._spAttrGrow.y = 190;
            ObjCreate.createBg(0, 3, 160, 24, this._spAttrGrow, ImagesConst.TileBg);
            this._bmGrow = ObjCreate.createBitmap("", 10, 5, this._spAttrGrow);
            var loc8;
            (loc8 = ObjCreate.createGTextField("", 9, 26, 220, 20, this._spAttrGrow)).text = Language.getString(71515);
            var loc9=Language.getString(70141).split(",");
            var loc14=0;
            while (loc14 < loc9.length) 
            {
                if (loc14 != 0) 
                {
                    if (loc14 != 1) 
                    {
                        if (loc14 == 2) 
                        {
                            loc13 = ObjCreate.createLabel(Language.getString(71509), 196, 46, 60, 20, flash.text.TextFormatAlign.LEFT, this._spAttrGrow, false, GlobalStyle.color6Uint);
                        }
                    }
                    else 
                    {
                        loc13 = ObjCreate.createLabel(Language.getString(71516), 114, 46, 60, 20, flash.text.TextFormatAlign.LEFT, this._spAttrGrow, false, GlobalStyle.color6Uint);
                    }
                }
                else 
                {
                    loc13 = ObjCreate.createLabel(Language.getString(70144), 30, 46, 60, 20, flash.text.TextFormatAlign.LEFT, this._spAttrGrow, false, GlobalStyle.color6Uint);
                }
                loc10 = ObjCreate.createTextField(loc9[loc14] + "：", 12, 67 + loc14 * 23, 120, 20, this._spAttrGrow);
                loc11 = ObjCreate.createTextField("", 87, 67 + loc14 * 23, 78, 20, this._spAttrGrow);
                loc12 = ObjCreate.createTextField("", 168, 67 + loc14 * 23, 80, 20, this._spAttrGrow);
                loc11.autoSize = flash.text.TextFormatAlign.CENTER;
                loc12.autoSize = flash.text.TextFormatAlign.CENTER;
                this._growStartArr.push(loc11);
                this._growForsterArr.push(loc12);
                ++loc14;
            }
            this._btnWash = ObjCreate.createGButton(Language.getString(71502), 98, 181, 68, 24, this._spAttrGrow, "ButtonRedMini");
            this._btnWash.drawNow();
            addChild(this._spAttrGrow);
            this.addToolTips();
            LoaderHelp.addResCallBack(ResFileConst.mount, this.onLoadBmResource);
            return;
        }

        protected onCraveBtnClickHandler(arg1: Object /* flash.events.MouseEvent */): void
        {
            if (this._mountIData) 
            {
                if (MountConfig.instance.isCanCrave(this._mountIData)) 
                {
                    Dispatcher.dispatchEvent(new DataEvent(EventName.MountOpenCraveModule, this._mountIData));
                }
                else 
                {
                    MsgManager.showRollTipsMsg(Language.getString(70178));
                }
            }
            return;
        }

        /* internal  */onLoadBmResource(): void
        {
            this._stBaseBm.bitmapData = GlobalClass.getBitmapData(ImagesConst.mountBaseAtrr);
            this._stAddBm.bitmapData = GlobalClass.getBitmapData(ImagesConst.mountAddAtrr);
            this._bmAtrrBase.bitmapData = GlobalClass.getBitmapData(ImagesConst.mountOperation);
            this._bmGrow.bitmapData = GlobalClass.getBitmapData(ImagesConst.moungtGrow);
            this._stEquiptBm.bitmapData = GlobalClass.getBitmapData(ImagesConst.mountEquipt);
            return;
        }

        protected onChangeModelBtnClickHandler(arg1: Object /* flash.events.MouseEvent */): void
        {
            if (this._mountIData) 
            {
                if (this._mountIData.posType != EPlayerItemPosType._EPlayerItemPosTypeRole) 
                {
                    MsgManager.showRollTipsMsg(Language.getString(70137));
                }
                else 
                {
                    Dispatcher.dispatchEvent(new DataEvent(EventName.MountShowChangeModelWindows, this._mountIData));
                }
            }
            return;
        }

        /* internal  */addToolTips(): void
        {
            this._btnFeed.toolTipData = HTMLUtil.addColor(Language.getString(70104), "#FFFFFF");
            this._btnAdvance.toolTipData = HTMLUtil.addColor(Language.getString(70105), "#FFFFFF");
            this._btnWash.toolTipData = HTMLUtil.addColor(Language.getString(70122), "#FFFFFF");
            this._btnExtend.toolTipData = HTMLUtil.addColor(Language.getString(70152), "#FFFFFF");
            return;
        }

        /* internal  */addEventListeners(): void
        {
            this._btnFeed.addEventListener(flash.events.MouseEvent.CLICK, this.onBtnChangeTab);
            this._btnAdvance.addEventListener(flash.events.MouseEvent.CLICK, this.onBtnChangeTab);
            this._btnWash.addEventListener(flash.events.MouseEvent.CLICK, this.onBtnChangeTab);
            this._btnBattle.addEventListener(flash.events.MouseEvent.CLICK, this.onBtBattleClick);
            this._btnExtend.addEventListener(flash.events.MouseEvent.CLICK, this.onBtnChangeTab);
            return;
        }

        protected onBtnChangeTab(arg1: Object /* flash.events.MouseEvent */): void
        {
            var loc1=arg1.target;
            switch (loc1) 
            {
                case this._btnFeed:
                {
                    Dispatcher.dispatchEvent(new DataEvent(EventName.MountButtonSkipToTabBar, 1));
                    break;
                }
                case this._btnAdvance:
                {
                    Dispatcher.dispatchEvent(new DataEvent(EventName.MountButtonSkipToTabBar, 2));
                    break;
                }
                case this._btnWash:
                {
                    Dispatcher.dispatchEvent(new DataEvent(EventName.MountButtonSkipToTabBar, 3));
                    break;
                }
                case this._btnExtend:
                {
                    Dispatcher.dispatchEvent(new DataEvent(EventName.MountButtonSkipToTabBar, 4));
                    break;
                }
                default:
                {
                    break;
                }
            }
            return;
        }

        protected onBtBattleClick(arg1: Object /* flash.events.MouseEvent */): void
        {
            if (this._mountIData) 
            {
                if (this._mountIData.posType != EPlayerItemPosType._EPlayerItemPosTypeRole) 
                {
                    Dispatcher.dispatchEvent(new DataEvent(EventName.MountPutOn, this._mountIData));
                }
                else 
                {
                    Dispatcher.dispatchEvent(new DataEvent(EventName.MountPutOff, this._mountIData));
                    Dispatcher.dispatchEvent(new DataEvent(EventName.MountHideChangeModelWindows));
                }
            }
            return;
        }

        public updateInfo(arg1: ItemData): void
        {
            this._mountIData = arg1;
            if (arg1) 
            {
                this._itemExInfo = this._mountIData.itemExInfo;
                this.updateSpInfo();
                this.updateSpBattle();
                this.updateSpAttr();
                this.updateSpAtrrGrow();
                if (MountConfig.instance.isCanCrave(arg1)) 
                {
                    this._craveBtn.visible = true;
                }
                else 
                {
                    this._craveBtn.visible = false;
                }
                this.updateMountEquipShow();
            }
            else 
            {
                this.clear();
            }
            return;
        }

        /* internal  */updateSpInfo(): void
        {
            var loc1=0;
            var loc2=0;
            var loc3=NaN;
            if (this._mountIData && this._mountIData.itemExInfo) 
            {
                this._mountModel.updateModelByCode(this._mountIData);
                loc1 = this._mountIData.itemExInfo.mount_level;
                loc2 = this._mountIData.itemExInfo.experience;
                loc3 = MountConfig.instance.getTotalExpByLevel(loc1 + this._mountIData.itemExInfo.mount_rein * 1000);
                this._expBar.setValue(loc2, loc3);
                this._lvTx.htmlText = "<font color=\'#f0ea3f\'>" + this._itemExInfo.mount_level + "</font>" + " " + Language.getString(70054);
                this._startLvTx.text = Language.getString(70278) + this._itemExInfo.m_adv_lv + "☆";
                this._speedTx.text = Language.getString(70279) + " +" + (this._itemExInfo.speed - 100).toString() + "%";
            }
            return;
        }

        /* internal  */updateSpAttr(): void
        {
            var loc1=0;
            var loc2=null;
            var loc3=null;
            var loc4=null;
            var loc5=null;
            var loc6=0;
            var loc7=0;
            var loc8=0;
            var loc9=0;
            var loc10=null;
            var loc11=null;
            var loc12=null;
            var loc13=0;
            var loc14=0;
            if (this._mountIData && this._itemExInfo) 
            {
                loc1 = Cache.instance.role.careerBasic;
                loc2 = Cache.instance.pack.mountsPackCache.getUpgradeBaseAttrValue(this._mountIData, this._mountIData.itemExInfo.m_adv_lv);
                loc3 = Cache.instance.pack.mountsPackCache.getSpecialGradValue(this._mountIData.itemExInfo.m_adv_lv);
                loc4 = Cache.instance.pack.mountsPackCache.getForsterArr(this._mountIData, loc1);
                if (loc2.length > 0) 
                {
                    loc7 = this._tfBaseAtrrValueArr.length;
                    loc8 = 0;
                    while (loc8 < loc7) 
                    {
                        this._tfBaseAtrrValueArr[loc8].text = (loc2[loc8] + 20 + loc4[loc8]).toString();
                        ++loc8;
                    }
                }
                this._tfAddValueArr = MountUtil.getAddtionalArray(this._mountIData);
                this._tfAddValueArr.sortOn("value", Array.NUMERIC);
                while (this._spAttrAdd.numChildren > 0) 
                {
                    this._spAttrAdd.removeChildAt(0);
                }
                if (this._tfAddValueArr.length > 0) 
                {
                    loc9 = 0;
                    while (loc9 < this._tfAddValueArr.length) 
                    {
                        loc10 = this._tfAddValueArr[loc9] as Map<any, any> /* flash.utils.Dictionary */;
                        (loc11 = ObjCreate.createGTextField(loc10["name"] + "：", 7, 20 * loc9, 60, 20, this._spAttrAdd)).toolTipData = HTMLUtil.addColor(Language.getStringByParam(70116, loc10["name"]), "#FFFFFF");
                        loc12 = ObjCreate.createTextField(loc10["value"], 57, 20 * loc9, 50, 20, this._spAttrAdd, GlobalStyle.textFormat2);
                        ++loc9;
                    }
                }
                loc6 = (loc5 = Cache.instance.pack.mountsPackCache.getMountExtendBaseAdd(this._mountIData)).length;
                if (loc5[0] + loc3[0] > 0 || loc5[0] + loc3[4] > 0) 
                {
                    loc13 = 0;
                    while (loc13 < loc6) 
                    {
                        this._gradeAddValueArr[loc13].text = "+" + (loc5[loc13] + loc3[loc13]) + "";
                        ++loc13;
                    }
                }
                else 
                {
                    loc14 = 0;
                    while (loc14 < loc6) 
                    {
                        this._gradeAddValueArr[loc14].text = "";
                        ++loc14;
                    }
                }
                this._huanLvTx.text = "LV." + this._mountIData.itemExInfo.m_change_lv.toString();
                this.changeModelBtnTips(loc5);
            }
            return;
        }

        /* internal  */changeModelBtnTips(arg1: Array<any>): void
        {
            var loc1="";
            loc1 = loc1 + ("<font color=\'#ff9900\'>" + Language.getString(70203) + "：" + this._mountIData.itemExInfo.m_change_lv + "</font><br>");
            loc1 = loc1 + (Language.getString(70204) + "：" + "<br>");
            var loc2=arg1.length;
            var loc3=Language.getString(70143).split(",");
            var loc4=0;
            while (loc4 < loc2) 
            {
                loc1 = loc1 + (" " + "<font color=\'#B1efff\'>" + loc3[loc4] + "</font>" + "  " + "<font color=\'#00ff00\'>" + "  + " + "<font color=\'#00ff00\'>" + arg1[loc4] + "</font><br>");
                ++loc4;
            }
            loc1 = loc1 + ("<font color=\'#f0ea3f\'>" + Language.getString(70129) + "</font>");
            this._changeModelBtn.toolTipData = "<textFormat leading=\'3\'>" + HTMLUtil.addColor(loc1, "#FFFFFF") + "</textFormat>";
            return;
        }

        /* internal  */updateSpAtrrGrow(): void
        {
            var loc1=0;
            var loc2=null;
            var loc3=null;
            var loc4=null;
            var loc5=0;
            if (this._mountIData) 
            {
                loc1 = Cache.instance.role.careerBasic;
                loc2 = Cache.instance.pack.mountsPackCache.getUpgradeBaseAttrValue(this._mountIData, this._mountIData.itemExInfo.m_adv_lv);
                loc3 = Cache.instance.pack.mountsPackCache.getSpecialGradValue(this._mountIData.itemExInfo.m_adv_lv);
                loc4 = Cache.instance.pack.mountsPackCache.getForsterArr(this._mountIData, loc1);
                loc5 = 0;
                while (loc5 < this._growStartArr.length) 
                {
                    if (loc1 == ECareer._ECareerNewPlayer || loc1 == ECareer._ECareerNo) 
                    {
                        (this._growStartArr[loc5] as Object /* flash.text.TextField */).htmlText = "<font color=\'#00ff00\'>+ " + loc2[loc5] + "</font>";
                        (this._growForsterArr[loc5] as Object /* flash.text.TextField */).htmlText = "<font color=\'#00ff00\'>" + loc4[loc5] + "</font>";
                    }
                    else 
                    {
                        (this._growStartArr[loc5] as Object /* flash.text.TextField */).htmlText = "<font color=\'#00ff00\'>+ " + (loc2[loc5] + loc3[loc5]) + "</font>";
                        (this._growForsterArr[loc5] as Object /* flash.text.TextField */).htmlText = "<font color=\'#00ff00\'>" + loc4[loc5] + "</font>";
                    }
                    ++loc5;
                }
            }
            return;
        }

        public clear(): void
        {
            var loc2=0;
            this._mountModel.clean();
            this._expBar.setValue(0, 0);
            this._btnBattle.isBattle = true;
            var loc1=this._tfBaseAtrrValueArr.length;
            if (loc1 > 0) 
            {
                loc2 = 0;
                while (loc2 < loc1) 
                {
                    this._tfBaseAtrrValueArr[loc2].text = "";
                    this._gradeAddValueArr[loc2].text = "";
                    this._growStartArr[loc2].text = "";
                    ++loc2;
                }
            }
            this._lvTx.text = "";
            this._startLvTx.text = "";
            this._speedTx.text = "";
            this.updateMountEquipShow();
            while (this._spAttrAdd.numChildren > 0) 
            {
                this._spAttrAdd.removeChildAt(0);
            }
            return;
        }

        public updateMountEquipShow(): void
        {
            var loc1=null;
            var loc2=null;
            var loc3=0;
            if (this._mountIData && this._mountIData.itemExInfo.mount_rein >= 3) 
            {
                loc1 = Cache.instance.pack.mountsPackCache.getMyMountEquip();
                loc2 = [];
                loc3 = 1;
                while (loc3 <= loc1.length) 
                {
                    loc2.push(loc1[loc3]);
                    ++loc3;
                }
                this._equiptPart.updateEquipt(loc1);
            }
            else 
            {
                this._equiptPart.updateEquipt([null, null, null, null]);
            }
            return;
        }

        /* internal */ /* var */_spAttrAdd: Object /* flash.display.Sprite */;

        /* internal */ /* var */_changeModelBtn: GLoadedButton;

        /* internal */ /* var */_craveBtn: GLoadedButton;

        /* internal */ /* var */_huanLvTx: Object /* flash.text.TextField */;

        /* internal */ /* var */_stBaseBm: Object /* flash.display.Bitmap */;

        /* internal */ /* var */_stAddBm: Object /* flash.display.Bitmap */;

        /* internal */ /* var */_expBar: PetProcessBar;

        /* internal */ /* var */_growStartArr: Array<any>;

        /* internal */ /* var */_growForsterArr: Array<any>;

        /* internal */ /* var */_lvTx: Object /* flash.text.TextField */;

        /* internal */ /* var */_startLvTx: Object /* flash.text.TextField */;

        /* internal */ /* var */_speedTx: Object /* flash.text.TextField */;

        /* internal */ /* var */_equiptPart: MountEquiptItemSp;

        /* internal */ /* var */_spInfo: FlowerBg;

        /* internal */ /* var */_spBattle: FlowerBg;

        /* internal */ /* var */_spAttr: Object /* flash.display.Sprite */;

        /* internal */ /* var */_spAttrGrow: FlowerBg;

        /* internal */ /* var */_mountModel: MountSWFPanel;

        /* internal */ /* var */_btnFeed: GButton;

        /* internal */ /* var */_btnAdvance: GButton;

        /* internal */ /* var */_btnExtend: GButton;

        /* internal */ /* var */_btnBattle: MountBattleButton;

        /* internal */ /* var */_bmAtrrBase: Object /* flash.display.Bitmap */;

        /* internal */ /* var */_bmGrow: Object /* flash.display.Bitmap */;

        /* internal */ /* var */_stEquiptBm: Object /* flash.display.Bitmap */;

        /* internal */ /* var */_btnWash: GButton;

        /* internal */ /* var */_mountIData: ItemData;

        /* internal */ /* var */_tfBaseAtrrValueArr: Array<any>;

        /* internal */ /* var */_tfAddValueArr: Array<any>;

        /* internal */ /* var */_gradeAddValueArr: Array<any>;

        /* internal */ /* var */_itemExInfo: ItemExInfo;
    }
